package com.webside.points.model;

import java.util.Date;
import java.util.List;

import com.webside.points.wechat.DateUtil;

public class ExpertEntity {

	/*
	 * 专家ID
	 */
	private int id;
	/*
	 * 专家类型
	 */
	private String expertType;
	/*
	 * 专家点赞
	 */
	private int likeCount;
	/*
	 * 专家倒赞
	 */
	private int dislikeCount;
	/*
	 * 打赏金额
	 */
	private Double rewardAmount;
	/*
	 * 审核状态
	 */
	private String auditStatus;
	/*
	 * 创建时间
	 */
	private Date createTime;
	/*
	 * 当前页
	 */
	private int curPage;
	/*
	 * 专家描述
	 */
	private String describe;
	/*
	 * 微信ID
	 */
	private String wechatId;
	/*
	 * 姓名
	 */
	private String name;
	/*
	 * 性别
	 */
	private String sex;
	/*
	 * 电话
	 */
	private String phone;
	/*
	 * QQ
	 */
	private String qq;
	/*
	 * 地址
	 */
	private String address;
	/*
	 * 详细地址
	 */
	private String detailedAddress;
	/*
	 * 工作单位
	 */
	private String workUnit;
	/*
	 * 职务
	 */
	private String duty;
	/*
	 * 身份证
	 */
	private String idCard;
	/*
	 * 身份证照片（正面）
	 */
	private String idCardImageFront;
	/*
	 * 身份证照片（反面）
	 */
	private String idCardImageReverse;
	/*
	 * 个人近照
	 */
	private String selfie;
	/*
	 * 学历
	 */
	private String education;
	/*
	 * 简历书写
	 */
	private String resumeWriting;
	/*
	 * 专长
	 */
	private String speciality;
	/*
	 * 著作/文章
	 */
	private String work;
	/*
	 * 支付标识
	 */
	private String transactionId;
	/*
	 * 用户信息
	 */
	private UserEntity userEntity;
	/*
	 * 回答集合
	 */
	private List<AnswerEntity> answerEntityList;
	
	/*
	 * 格式化创建时间
	 */
	private String dateFormat;
	/*
	 * 排序
	 */
	private String rank;
	
	private int answerCount;
	
	
	
	public String getDetailedAddress() {
		return detailedAddress;
	}

	public void setDetailedAddress(String detailedAddress) {
		this.detailedAddress = detailedAddress;
	}

	public String getResumeWriting() {
		return resumeWriting;
	}

	public void setResumeWriting(String resumeWriting) {
		this.resumeWriting = resumeWriting;
	}

	public int getAnswerCount() {
		return answerCount;
	}

	public void setAnswerCount(int answerCount) {
		this.answerCount = answerCount;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public String getIdCardImageFront() {
		return idCardImageFront;
	}

	public void setIdCardImageFront(String idCardImageFront) {
		this.idCardImageFront = idCardImageFront;
	}

	public String getIdCardImageReverse() {
		return idCardImageReverse;
	}

	public void setIdCardImageReverse(String idCardImageReverse) {
		this.idCardImageReverse = idCardImageReverse;
	}

	public String getSelfie() {
		return selfie;
	}

	public void setSelfie(String selfie) {
		this.selfie = selfie;
	}

	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public String getSpeciality() {
		return speciality;
	}

	public void setSpeciality(String speciality) {
		this.speciality = speciality;
	}

	public String getWork() {
		return work;
	}

	public void setWork(String work) {
		this.work = work;
	}

	public String getTransactionId() {
		return transactionId;
	}

	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}

	public List<AnswerEntity> getAnswerEntityList() {
		return answerEntityList;
	}

	public void setAnswerEntityList(List<AnswerEntity> answerEntityList) {
		this.answerEntityList = answerEntityList;
	}

	public String getRank() {
		return rank;
	}

	public void setRank(String rank) {
		this.rank = rank;
	}

	public String getWechatId() {
		return wechatId;
	}

	public void setWechatId(String wechatId) {
		this.wechatId = wechatId;
	}
	
	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getSex() {
		return sex;
	}


	public void setSex(String sex) {
		this.sex = sex;
	}


	public String getPhone() {
		return phone;
	}


	public void setPhone(String phone) {
		this.phone = phone;
	}


	public String getQq() {
		return qq;
	}


	public void setQq(String qq) {
		this.qq = qq;
	}


	public String getAddress() {
		return address;
	}


	public void setAddress(String address) {
		this.address = address;
	}


	public String getWorkUnit() {
		return workUnit;
	}


	public void setWorkUnit(String workUnit) {
		this.workUnit = workUnit;
	}


	public String getDuty() {
		return duty;
	}


	public void setDuty(String duty) {
		this.duty = duty;
	}


	public String getDateFormat() {
		return dateFormat;
	}

	public void setDateFormat(String dateFormat) {
		this.dateFormat = dateFormat;
	}

	public UserEntity getUserEntity() {
		return userEntity;
	}

	public void setUserEntity(UserEntity userEntity) {
		this.userEntity = userEntity;
	}

	public String getDescribe() {
		return describe;
	}

	public void setDescribe(String describe) {
		this.describe = describe;
	}

	public int getCurPage() {
		return curPage;
	}

	public void setCurPage(int curPage) {
		this.curPage = curPage;
	}

	public Double getRewardAmount() {
		return rewardAmount;
	}

	public void setRewardAmount(Double rewardAmount) {
		this.rewardAmount = rewardAmount;
	}

	public ExpertEntity() {
		super();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getExpertType() {
		return expertType;
	}

	public void setExpertType(String expertType) {
		this.expertType = expertType;
	}

	public int getLikeCount() {
		return likeCount;
	}

	public void setLikeCount(int likeCount) {
		this.likeCount = likeCount;
	}

	public int getDislikeCount() {
		return dislikeCount;
	}

	public void setDislikeCount(int dislikeCount) {
		this.dislikeCount = dislikeCount;
	}

	public String getAuditStatus() {
		return auditStatus;
	}

	public void setAuditStatus(String auditStatus) {
		this.auditStatus = auditStatus;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTtime) {
		this.createTime = createTtime;
		this.dateFormat = DateUtil.dateFormat(createTime);
	}

	@Override
	public String toString() {
		return "ExpertEntity [id=" + id + ", expertType=" + expertType + ", likeCount=" + likeCount + ", dislikeCount="
				+ dislikeCount + ", rewardAmount=" + rewardAmount + ", auditStatus=" + auditStatus + ", createTime="
				+ createTime + ", curPage=" + curPage + ", describe=" + describe + ", wechatId=" + wechatId + ", name="
				+ name + ", sex=" + sex + ", phone=" + phone + ", qq=" + qq + ", address=" + address
				+ ", detailedAddress=" + detailedAddress + ", workUnit=" + workUnit + ", duty=" + duty + ", idCard="
				+ idCard + ", idCardImageFront=" + idCardImageFront + ", idCardImageReverse=" + idCardImageReverse
				+ ", selfie=" + selfie + ", education=" + education + ", resumeWriting=" + resumeWriting
				+ ", speciality=" + speciality + ", work=" + work + ", transactionId=" + transactionId + ", userEntity="
				+ userEntity + ", answerEntityList=" + answerEntityList + ", dateFormat=" + dateFormat + ", rank="
				+ rank + ", answerCount=" + answerCount + "]";
	}

	


	

}
